package org.example.service;

import org.example.domain.Comment;
import org.example.domain.User;

import java.util.List;

public interface CommentService {
    int saveOne(Comment comment);
    List<Comment> searchByFilterCondition(int entityId, int entityType,int targetId,int start,int page);
    int searchCount(int entityType,int entityId,int targetId);
    User searchReplyUser(int commentId);
    List<Integer> searchUserPublishCommentIds(int userId);
    Comment searchById(int commentId);
}
